Skip to content

Fix beta asset publish and repoint the beta-fw tag - #13

Merged
bharvey88 merged 1 commit into
betafrom
fix/beta-publish-artifact-path
Aug 24, 2026
Merged

Fix beta asset publish and repoint the beta-fw tag#13
bharvey88 merged 1 commit into
betafrom
fix/beta-publish-artifact-path

Conversation

@bharvey88

Copy link
Copy Markdown
Contributor

Version: 26.8.23.1

What does this implement/fix?

The publish-beta job fails on every push to beta, so the beta-fw
release has never received any assets. A device switched to the Beta
channel gets a 404 on the manifest today.

find: 'fw/firmware-standard': No such file or directory
Error: manifest.json not found for firmware-standard

actions/download-artifact only creates a per-artifact subdirectory
when two or more artifacts match the pattern. With exactly one match it
extracts flat into path:

Total of 1 artifact(s) downloaded
Starting download of artifact to: /home/runner/work/H-3/H-3/fw

H-3 builds a single beta image, because H-3D has no wifi or OTA and is
USB-flash only. So the files landed in fw/ while the publish step
looked in fw/firmware-standard/. MSR-1 and CAST-1 build two beta
images and always get the subdirectory, which is why the same script
works there. Downloading by name instead of pattern pins the layout
regardless of artifact count.

Also adds the Point beta-fw tag at the built commit step that MSR-1
and CAST-1 already have, byte-identical to theirs. Without it the
release tag tracks main HEAD rather than the beta commit that produced
the assets. gh api repos/ApolloAutomation/H-3/releases/tags/beta-fw
currently reports "target": "main".

Unblocks #11.

Types of changes

  • Bugfix (fixed change that fixes an issue)
  • New feature (thanks!)
  • Breaking change (repair/feature that breaks existing functionality)
  • Dependency Update - Does not publish
  • Other - Does not publish
  • Website of github readme file update - Does not publish
  • Github workflows - Does not publish

Checklist / Checklijst:

  • The code change has been tested and works locally
  • The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:

  • Added/updated documentation for the web page

🤖 Generated with Claude Code

The publish job never found the firmware it had just downloaded:

    find: 'fw/firmware-standard': No such file or directory
    Error: manifest.json not found for firmware-standard

actions/download-artifact only creates a per-artifact subdirectory when
two or more artifacts match the pattern. With exactly one match it
extracts flat into `path`:

    Total of 1 artifact(s) downloaded
    Starting download of artifact to: /home/runner/work/H-3/H-3/fw

H-3 builds a single beta image, since H-3D has no wifi or OTA and is
USB-flash only, so the files landed in fw/ while the publish step looked
in fw/firmware-standard/. The rest of the fleet builds two beta images
and always gets the subdirectory, which is why the same script works
there. Downloading by name instead of pattern pins the layout regardless
of artifact count.

Also adds the beta-fw tag repoint step that MSR-1 and CAST-1 already
have. Without it the release tag tracks main HEAD rather than the beta
commit that produced the assets; the tag currently points at main.

The beta-fw release has no assets at all right now, so a device switched
to the Beta channel gets a 404 on the manifest until this lands.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 12bbe3b2-0acc-4510-afd0-0c92ebc5f0a2


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bharvey88
bharvey88 merged commit df798d1 into beta Aug 24, 2026
8 checks passed
@bharvey88
bharvey88 deleted the fix/beta-publish-artifact-path branch August 28, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant